﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;

public partial class chitietchuongtrinh : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int id = Convert.ToInt32(Request.QueryString["id"]);
        ChuongTrinh ct = new ChuongTrinh();

        var c = ct.GetData(id);

        if (!c.Cast<object>().Any())
        {
            
        }
        else
        {
            rptChitietchuongtrinh.DataSource = c;
            rptChitietchuongtrinh.DataBind();
        }


    }
}